package com.my.strings.commons;

import java.math.BigDecimal;

/**
 * @author marshal
 * @version 2021-05-21
 */
public class StringTest {
    public static void main(String[] args) {
        String s = "    abc, 123 , xxx,  ";
        System.out.println(s.trim());
//        String str = s.replaceAll(" ", "");
//        System.out.println(str);
//        System.out.println("S12aaa".startsWith("S12"));
        String ip = "127.0.0.1";
//        System.out.println(ip.replaceAll("\\.", "_"));

//        String text = "[[104.135195,28.341714],[104.134666,28.342283],[104.13447,28.342526],[104.134284,28.342799],[104.133876,28.343464],[104.133116,28.344722],[104.132964,28.344978],[104.132526,28.345846],[104.132357,28.346267],[104.132218,28.346675],[104.132122,28.347049],[104.132057,28.347374],[104.132001,28.347799],[104.131979,28.348138],[104.131966,28.348576],[104.131979,28.348902],[104.13201,28.349258],[104.13207,28.349609],[104.132174,28.350126],[104.132622,28.351875],[104.132752,28.35247],[104.132869,28.353134],[104.132934,28.35365],[104.132986,28.354566],[104.132986,28.355109],[104.132964,28.355621],[104.13296,28.355712],[104.132869,28.356554],[104.132782,28.357018],[104.132782,28.357018],[104.132665,28.357574],[104.132556,28.35799],[104.132409,28.358477],[104.132209,28.359045],[104.131988,28.359622],[104.129748,28.365078],[104.12908,28.366697],[104.128984,28.366927],[104.128416,28.368312],[104.127439,28.37069],[104.126636,28.372639],[104.124566,28.377682],[104.120048,28.388668],[104.119575,28.389805],[104.115391,28.399657],[104.112743,28.405898],[104.111623,28.407487],[104.110122,28.40911],[104.109249,28.409965],[104.108424,28.410642],[104.107487,28.411402],[104.106697,28.412023],[104.106441,28.412196],[104.105998,28.412513],[104.105391,28.412912],[104.105391,28.412912],[104.104657,28.413372],[104.103976,28.413763],[104.103273,28.414145],[104.102609,28.414479],[104.101957,28.414779],[104.10122,28.415104],[104.100612,28.415347],[104.099818,28.415642],[104.099136,28.415872],[104.098355,28.41612],[104.097747,28.416285],[104.095499,28.416866],[104.08447,28.419692],[104.082604,28.420169],[104.079523,28.420951],[104.076884,28.421628],[104.072426,28.422769],[104.0625,28.425286],[104.049891,28.428485],[104.048963,28.428776],[104.048572,28.428924],[104.04819,28.429097],[104.047682,28.429358],[104.047348,28.429553],[104.047023,28.429766],[104.046623,28.430061],[104.04635,28.430286],[104.046046,28.430564],[104.045734,28.430881],[104.045239,28.431441],[104.044544,28.43227],[104.044227,28.432613],[104.044028,28.432834],[104.043685,28.433194],[104.043255,28.433607],[104.042691,28.434119],[104.042296,28.434462],[104.041532,28.435082],[104.041098,28.435464],[104.040677,28.435855],[104.040525,28.436007],[104.040291,28.436246],[104.039883,28.436688],[104.039479,28.437153],[104.039119,28.437591],[104.038793,28.438034],[104.038477,28.438485],[104.038116,28.439054],[104.037873,28.439466],[104.037799,28.439631],[104.037799,28.439631],[104.037522,28.440169],[104.037231,28.440773],[104.03701,28.44128],[104.036771,28.441897],[104.036141,28.443602],[104.036085,28.443763],[104.035564,28.445182],[104.035564,28.445182],[104.034028,28.44941],[104.033733,28.450156],[104.033403,28.450924],[104.033051,28.451675],[104.032665,28.452431],[104.031992,28.45365],[104.031554,28.454362],[104.031411,28.454588],[104.031211,28.454887],[104.030621,28.455751],[104.027144,28.460499],[104.026753,28.461007],[104.02605,28.461836],[104.025612,28.462287],[104.025243,28.462643],[104.024865,28.462969],[104.02441,28.463338],[104.023928,28.463698],[104.023698,28.463859],[104.022717,28.464492],[104.022331,28.464709],[104.021979,28.464891],[104.021115,28.465269],[104.020499,28.465508],[104.020308,28.465573],[104.019952,28.46569],[104.018967,28.465998],[104.01855,28.466115],[104.017222,28.466497],[104.015924,28.466927],[104.015373,28.46714],[104.014831,28.467378],[104.013811,28.467873],[104.013411,28.468095],[104.013021,28.46832],[104.011927,28.468984],[104.011246,28.469453],[104.010386,28.470087],[104.010386,28.470087],[104.009887,28.470477],[104.009197,28.471068],[104.00826,28.471936],[104.007643,28.472565],[104.006766,28.473529],[104.004115,28.476562],[104.002218,28.478728],[104.002018,28.478967],[104.001771,28.479236],[103.99658,28.485174],[103.994835,28.487166],[103.994518,28.487548],[103.994345,28.48776],[103.993824,28.488433],[103.993338,28.489084],[103.99263,28.49013],[103.99217,28.490877],[103.991832,28.491463],[103.99145,28.492161],[103.991029,28.493008],[103.990803,28.49349],[103.990447,28.494327],[103.99003,28.495417],[103.989753,28.496267],[103.989666,28.496571],[103.989323,28.497895],[103.989188,28.498468],[103.989175,28.498533],[103.989049,28.499188],[103.988928,28.499883],[103.988845,28.50053],[103.988754,28.501393],[103.988481,28.504991],[103.988342,28.506736],[103.988342,28.506736],[103.98826,28.507461],[103.98803,28.508954],[103.987912,28.509518],[103.987808,28.510009],[103.987648,28.51069],[103.987461,28.511398],[103.987196,28.512261],[103.984436,28.520269],[103.98434,28.520503],[103.984227,28.520781],[103.984071,28.521124],[103.983832,28.521571],[103.983537,28.522079],[103.983038,28.522769],[103.982752,28.523116],[103.982483,28.523411],[103.982062,28.523832],[103.982062,28.523832],[103.981684,28.524162],[103.981367,28.524423],[103.98056,28.524983],[103.980004,28.52533],[103.974605,28.528451],[103.96974,28.531263],[103.969345,28.531493],[103.966411,28.533194],[103.965681,28.533594],[103.965165,28.533854],[103.96477,28.534028],[103.96434,28.534201],[103.963724,28.534405],[103.963724,28.534405],[103.963346,28.534505],[103.96296,28.534592],[103.962478,28.534679],[103.962001,28.534735],[103.961532,28.534774],[103.961029,28.534796],[103.960343,28.5348],[103.956905,28.534757],[103.952635,28.534705],[103.950673,28.534683],[103.950035,28.534701],[103.949379,28.534735],[103.948194,28.53487],[103.947648,28.534961],[103.947049,28.535087],[103.946528,28.535208],[103.94602,28.535347],[103.945412,28.535543],[103.944839,28.535742],[103.944332,28.535946],[103.943837,28.536159],[103.943299,28.536424],[103.942743,28.536719],[103.942318,28.536962],[103.94138,28.537552],[103.94138,28.537552],[103.94099,28.537843],[103.940534,28.538207],[103.940135,28.53855],[103.939635,28.539006],[103.936081,28.542478],[103.93066,28.547769],[103.927305,28.55105],[103.924831,28.553464],[103.922899,28.555343],[103.922036,28.556228],[103.921719,28.556589],[103.921298,28.557135],[103.92105,28.557509],[103.920816,28.557895],[103.920634,28.558238],[103.920447,28.558637],[103.920304,28.559002],[103.920156,28.559423],[103.920035,28.559874],[103.919948,28.560265],[103.919878,28.56069],[103.919822,28.561306],[103.919826,28.561984],[103.919918,28.562908],[103.920152,28.564449],[103.920291,28.565352],[103.920486,28.566549],[103.921059,28.570265],[103.921111,28.570807],[103.921168,28.57161],[103.921163,28.572101],[103.921133,28.572578],[103.921085,28.573025],[103.921011,28.57349],[103.920916,28.57398],[103.920747,28.574687],[103.920551,28.575438],[103.92043,28.575855],[103.92043,28.575855],[103.919353,28.579835],[103.918689,28.582326],[103.917765,28.585742],[103.917582,28.586424],[103.91671,28.58967],[103.916536,28.590252],[103.916285,28.59099],[103.916072,28.59158],[103.915786,28.59227],[103.915573,28.592765],[103.91523,28.59349],[103.914957,28.594019],[103.914514,28.594809],[103.914236,28.595282],[103.913802,28.595964],[103.913368,28.59661],[103.912947,28.597183],[103.912778,28.597409],[103.912582,28.597656],[103.912153,28.598186],[103.911654,28.598767],[103.911654,28.598767],[103.911172,28.599297],[103.910707,28.599787],[103.909696,28.600755],[103.909106,28.601276],[103.908689,28.601628],[103.908377,28.601884],[103.907287,28.602704],[103.90681,28.603043],[103.906089,28.60352],[103.90543,28.603932],[103.90474,28.60434],[103.903802,28.604852],[103.903147,28.605178],[103.902418,28.605521],[103.901558,28.605898],[103.901007,28.60612],[103.900126,28.606454],[103.899553,28.606654],[103.899553,28.606654],[103.898793,28.606901],[103.897908,28.607157],[103.894293,28.608116],[103.893238,28.608394],[103.886714,28.610135],[103.884223,28.610794],[103.881793,28.611441],[103.881085,28.611654],[103.880564,28.611823],[103.880065,28.612014],[103.879501,28.612253],[103.879132,28.612426],[103.878585,28.612713],[103.878181,28.612947],[103.877361,28.613485],[103.877361,28.613485],[103.877014,28.613754],[103.876567,28.61411],[103.876246,28.614392],[103.875911,28.614714],[103.87556,28.615091],[103.875221,28.615482],[103.874913,28.615859],[103.87454,28.616363],[103.872387,28.619384],[103.866966,28.627001],[103.866536,28.627626],[103.866237,28.628112],[103.865911,28.628681],[103.865655,28.629188],[103.865443,28.629666],[103.865239,28.630174],[103.865169,28.630369],[103.865056,28.63069],[103.864926,28.631111],[103.864852,28.631419],[103.864774,28.63184],[103.864744,28.632096],[103.864653,28.632847]]";
//        System.out.println(text.replaceAll("\\[\\[", "").replaceAll("],\\[", ";"));
//        String s1 = "abc";
//        String s2 = "abc";
//        System.out.println(s1.equals(s2));
        String url = "/file/download/%E6%96%B0%E5%BB%BA+Microsoft+Word+%E6%96%87%E6%A1%A3%2811%29.docx";
        System.out.println(url.substring(15));
    }
}